package cn.zebra.dev.product.module.question.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

/**
 * @author HH
 */
@TableName("product_question_reply")
@Getter
@Setter
public class ProductQuestionReplyEntity {
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "商品问题回复id")
    private Long id;

    @ApiModelProperty(value = "商品问题id")
    private Long productQuestionId;

    @ApiModelProperty(value = "回复问题内容")
    private String productQuestionReplyContent;

    @ApiModelProperty(value = "用户回复人id")
    private Long memberReplyId;

    @ApiModelProperty(value = "用户回复人名称")
    private String memberReplyName;

    @ApiModelProperty(value = "用户回复人头像")
    private String memberReplyHeadImg;

    @ApiModelProperty(value = "问题创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "问题回复时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "是否删除")
    private Boolean deleteFlag;

}
